package back.service;

import back.mapper.BookMapper;
import back.pojo.Book;
import back.pojo.User;
import org.springframework.stereotype.Service;

import java.util.List;


public interface BookService {

    List<Book> queryBookList(Book book);

    int getCountBook(Book book);

    Book queryBookById(int id);

    void addBook(Book book);

//    List<Book> queryBookByISBN(Book book);

    void updateBook(Book book);

    void deleteBookById(int id);

    void deleteBook(List<Integer> ids);
}
